﻿<%@ Page Language="C#" %>

<script runat="server">
    protected override void OnLoad(EventArgs e)
    {
        OrderInfo order = Orders.GetOrder(SiteContext.Current.Id);
        if (order != null)
        {
            IPayment payment = PaymentFactory.GetPayment(order);

            payment.SendPost(this.Context);
        }
        else
        {
            Response.Write("订单错误，请重试。");
        }
    }
</script>

